package minidb.parse.exps;

public class CreateIndexExp extends SQLExp
{
	public String indexName;
	public String tableName;
	public Field field;
	
	public CreateIndexExp(String in,String tn,Field f)
	{
		this.indexName=in;
		this.tableName=tn;
		this.field=f;
	}
		
	@Override
	public String Print()
	{
		return "CREATE INDEX "+this.indexName+" ON "+this.tableName+"("+this.field.Print_Base()+")\n";
	}

}
